<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="renderer" content="webkit">
        <link type="text/css" rel="stylesheet" href="{$Think.config.static_url}/company/css/core.css"/>
        <link type="text/css" rel="stylesheet" href="{$Think.config.static_url}/company/css/iconfont.css"/>
        <link type="text/css" rel="stylesheet" href="{$Think.config.static_url}/company/css/test.css"/>
        <script src="{$Think.config.static_url}/company/js/jquery-1.8.3.min.js"></script>
        <script type="text/javascript" src="{$Think.config.static_url}/company/js/jQuery.print.js"></script>

        <script>
            function dy() {
                $(".submit").hide();
//                $('body').print();
               

                    if (!!window.ActiveXObject || "ActiveXObject" in window) { //是否ie

                        remove_ie_header_and_footer();

                    }

                    $('body').print();

  



                function remove_ie_header_and_footer() {

                    var hkey_path;

                    hkey_path = "HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\PageSetup\\";

                    try {

                        var RegWsh = new ActiveXObject("WScript.Shell");

                        RegWsh.RegWrite(hkey_path + "header", "");

                        RegWsh.RegWrite(hkey_path + "footer", "");

                    } catch (e) {

                    }

                }
                $(".submit").show();
            }
        </script>

        <link rel="stylesheet" href="{$Think.config.static_url}/company/css/bootstrap.css">
        <link rel="stylesheet" href="{$Think.config.static_url}/company/css/common.css">
        <link rel="stylesheet" href="{$Think.config.static_url}/company/css/style.css">

        <script src="{$Think.config.static_url}/company/js/bootstrap.js" charset="utf-8"></script>
        <script src="{$Think.config.static_url}/company/js/index.js" charset="utf-8"></script>
        <title>{$company_info.company_name}</title>
        <style>
            body {height: auto;}
            table.car_table>tbody>tr>td{
                font-size: 14px;
            }
            div{
                font-size: 14px;
            }
            .form-control {
                font-size: 14px;
            }
            label{
                font-size: 14px;
            }
        </style>
    </head>

    <body>

        <div class="container">
            <h1 class="head_title">机动车牌证申请表</h1>
            <table class="form-horizontal text-center car_table" style="display:table;" width="100%">
                <tr>
                    <td colspan="6" style="font-size:16px">
                        申请人信息栏
                    </td>
                </tr>
                <tr>
                    <td colspan="2" rowspan="3" width="12%">
                        机<br>动<br>车<br>所<br>有<br>人
                    </td>
                    <td width="12%">
                        <div>
                            姓名/名称
                        </div>
                    </td>
                    <td>
                        <input type="text" class="form-control" value="{$driving_license_info.user_name}">
                    </td>
                    <td width="15%">
                        邮政编码
                    </td>
                    <td>
                        <input type="text" class="form-control">
                    </td>
                </tr>
                <tr>
                    <td>
                        邮寄地址
                    </td>
                    <td colspan="3">
                        <input type="text" class="form-control" value="{$order_info.address}">
                    </td>
                </tr>
                <tr>
                    <td>
                        手机号码
                    </td>
                    <td>
                        <input type="text" class="form-control" value="{$order_info.mobile}">
                    </td>
                    <td>
                        固定电话
                    </td>
                    <td>
                        <input type="text" class="form-control">
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        代<br>理<br>人
                    </td>
                    <td >
                        姓名/名称
                    </td>
                    <td>
                        <input type="text" class="form-control">
                    </td>
                    <td>
                        手机号码
                    </td>
                    <td>
                        <input type="text" class="form-control">
                    </td>
                </tr>
                <tr>
                    <td colspan="6" style="font-size:16px">
                        申请业务事项
                    </td>
                </tr>






                <tr>
                    <td colspan="3">号牌种类</td>
                    <td >
                        <input type="text" class="form-control" value="{$info.license_typename}">
                    </td>
                    <td >号牌号码</td>
                    <td >
                        <input type="text" class="form-control" value="{$info.license_number}">
                    </td>
                </tr>
                <tr>
                    <td colspan="3">申请事项</td>
                    <td class="border_right">
                        <input type="text" class="form-control" >
                    </td>
                    <td class="border_left border_right">申请原因及明细</td>
                    <td   class="border_left">
                        <input type="text" class="form-control" >
                    </td>
                </tr>
                <tr>
                    <td rowspan="2" class="row_title">号<br>牌</td>
                    <td class="row_check">
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>补领</label>
                    </td>
                    <td class="border_right">

                    </td>
                    <td class="border_right border_left " style="text-align: left;">
                        <span >
                            <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                            <label>丢失</label>
                        </span>
                        <span>
                            <span type="checkbox" class="iconfont icon-Artboard y_nn" style="padding-left: 75px;"></span>
                            <label>灭失</label>
                        </span>
                    </td>
                    <td class="border_left border_right">
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>前号牌</label>
                    </td>
                    <td class="border_left ">
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>后号牌</label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>换领</label>
                    </td>
                    <td class="border_left border_right"></td>
                    <td class="border_right" style="text-align: left;border-left:none" >
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>前号牌</label>
                    </td>

                    <td class="border_left border_right" style="text-align: left;">
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>后号牌</label>
                    </td>
                    <td class="border_left"></td>
                </tr>
                <tr>
                    <td rowspan="2" class="row_title">行<br>驶<br>证</td>
                    <td>
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>补领</label>
                    </td>
                    <td class="border_left border_right"></td>
                    <td class="border_right" style="text-align: left;border-left:none">
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>丢失</label>
                    </td>

                    <td class="border_left border_right " style="text-align: left;">
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>灭失</label>
                    </td>
                    <td class="border_left"></td>
                </tr>
                <tr>
                    <td>
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>换领</label>
                    </td>
                    <td colspan="4"></td>
                </tr>

                <tr>
                    <td rowspan="3" class="row_title">登<br>记<br>证<br>书</td>
                    <td>
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>申领</label>
                    </td>
                    <td colspan="4"></td>
                </tr>
                <tr>
                    <td>
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>补领</label>
                    </td>
                    <td class="border_left" style="border-right:none"></td>
                    <td class="border_right" style="text-align:left;border-left:none;">
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>丢失</label>
                    </td>
                    <td class="border_left border_right" style="text-align:left">
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>灭失</label>
                    </td>
                    <td class="border_left">
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>未获得</label>
                    </td>

                </tr>
                <tr>
                    <td>
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>换领</label>
                    </td>
                    <td colspan="4"></td>
                </tr>

                <tr>
                    <td rowspan="3" class="row_title">检<br>验<br>合<br>格<br>标<br>志</td>
                    <td>
                        <span type="checkbox" class="iconfont icon-Artboard  y_nn"></span>
                        <label>申请</label>
                    </td>
                    <td class="border_left border_right" ></td>
                    <td class="border_right " style="text-align: left;border-left:none">
                        <span type="checkbox" class="iconfont icon-Artboard  y_nn"></span>
                        <label>在登记地车辆管理所申请</label>
                    </td>
                    <td class="border_left" style="border-right:none;"></td>
                    <td class="border_left " style="text-align: left;">
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>在登记地以外车辆管理所申请</label>
                    </td>

                </tr>
                <tr>
                    <td>
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>补领</label>
                    </td>
                    <td class="border_left border_right"></td>
                    <td class="border_right " style="text-align: left;border-left:none">
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>丢失</label>
                    </td>
                    <td class="border_left" style="border-right:none;"></td>
                    <td class="border_left " style="text-align: left;">
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>灭失</label>
                    </td>

                </tr>
                <tr>
                    <td>
                        <span type="checkbox" class="iconfont icon-Artboard y_nn"></span>
                        <label>换领</label>
                    </td>
                    <td colspan="4"></td>
                </tr>
                <!--class="font_only" style="height:100px"-->
                <tr>
                    <td colspan="3"  class="font_only" rowspan="2">
                        机动车所有人及代理人对申请材料的真实性有效性负责。
                    </td>    
                    <td colspan="3" class="text-left" style="border-bottom-style:none;padding-left:10px">
                        机动车所有人（代理人）签字：
                    </td>
                </tr>
                <tr>
                    <td colspan="3" style="border-top-style:none;padding-right: 10px" class="text-right">
                        <input type="text" class="data">年
                        <input type="text" class="data">月
                        <input type="text" class="data">日
                    </td>
                </tr>

            </table>
            <div class="text-left" style="margin-top:10px">
                {$company_info.company_name}
            </div>
            <div class="text-left" style="margin-top:10px">
                地址：{$company_info.company_addr}
            </div>

        </div>

        <div class="submit">
            <button id='print' onclick="dy();">打印</button>
        </div>
        <script>
            $(function () {
                var tag = 0;
                $(".test table i").click(function () {
                    if (tag == 0) {
                        $(this).addClass("icon-jianhao");
                    }
                    if (tag == 1) {
                        $(this).addClass("icon-close");
                    }
                    ;
                    tag++;
                    if (tag == 3) {
                        $(this).removeClass("icon-jianhao icon-close");
                        tag = 0;
                    }
                })

            })
        </script>
    </body>
</html>
